package com.lgy.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "t_order")
public class Order {
    @TableId(value = "id", type = IdType.AUTO)//已再application.yml中进行全局配置
    private Integer id;

    private String name;

    private Date createTime;
}
